﻿using System;

namespace Smugmug
{
    public class RestProtocol : IProtocol
    {
        public IResponse GetResponse(string message)
        {
            return new RestResponse(message);
        }

        public IResponse<T> GetResponse<T>(string message) where T : new()
        {
            return new RestResponse<T>(message);
        }

        public string BaseUrl
        {
            get { return "api.smugmug.com/services/api/rest"; }
        }

        public string ResponseType
        {
            get { return "REST"; }
        }
    }
}